import request from '@/utils/request'

// 查询数据采集列表
export function listAfDataAcquirement(query) {
  return request({
    url: '/security/afDataAcquirement/list',
    method: 'get',
    params: query
  })
}

// 查询数据采集详细
export function getAfDataAcquirement(id) {
  return request({
    url: '/security/afDataAcquirement/' + id,
    method: 'get'
  })
}

// 新增数据采集
export function addAfDataAcquirement(data) {
  return request({
    url: '/security/afDataAcquirement',
    method: 'post',
    data: data
  })
}

// 修改数据采集
export function updateAfDataAcquirement(data) {
  return request({
    url: '/security/afDataAcquirement',
    method: 'put',
    data: data
  })
}

// 删除数据采集
export function delAfDataAcquirement(id) {
  return request({
    url: '/security/afDataAcquirement/' + id,
    method: 'delete'
  })
}
